package com.ruan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruan.common.Result;
import com.ruan.pojo.Department;

import java.util.List;

public interface DepartmentService extends IService<Department> {
//    List<Department> selectAll();

    boolean stopDepart(Long id);

    boolean startDepart(Long id);

    boolean addDepart(Department department);

    List<Department> getDepart();

    Result deleteDepart(Long id);
}
